<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="content.js"></script>
    <script src="tsService.js"></script>
    <style>
        .div{
            display: flex;
        }
        .infoDiv{
            width: 200px;
            visibility: hidden;
        }
        .hidDiv{
            display: flex;
            background-color: rgba(0,0,0,0.5);
            left: 0px;
            top: 0px;
            position: absolute;
            visibility: hidden;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
        }
        .contDiv{
            background-color: white;
            width: 700px;
            height: 400px;
            border: 1px black;

        }
    </style>
</head>
<body>

<div class="div">
    <!--查看信息表-->
<div class="infoDiv" id="info">
<img src="" id="imgTxt"><br>
    书名：<span id="titleTxt"></span><br>
    作者：<span id="authorTxt"></span><br>
    价格：<span id="moneyTxt"></span><br>
</div>
<!--书籍内容表-->
<table border="1" width="50%" >
    <thead>
    <tr><th>图片</th><th>图书名</th><th>作者</th><th>销售价</th><th>编号</th></tr>
    </thead>
    <tbody id="data"></tbody>
</table>
</div>
<!--按书籍名字查询-->
<div style="margin-left: 800px">
书名：<input type="text" id="titleNameTxt">
<input type="button" value="查找" onclick="finByTitle()">
</div>

<div class="hidDiv" id="shop">
    <div class="contDiv">
        <table border="1"  style="">
            <thead>
            <tr><th>商品名</th><th>单价</th><th>数量</th><th>总价</th><th>编号</th><th>移除商品</th></tr>
            </thead>
            <tbody id="data1"></tbody>
        </table>
        <input type="button" value="继续购物" onclick="continueShop()">
        <span id="moneyNumSpan">总价：</span>
    </div>
</div>
</body>
</html>